using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UIElements;
using Image = UnityEngine.UI.Image;

public class BubbleClick : MonoBehaviour
{
    public Player Player;
    // Start is called before the first frame update
    public GameObject dialogueManager; // 拖入对话管理器

    public void OnPointerClick()
    {
        
        Player.isInteract = true;
        gameObject.GetComponent<Image>().color = new Color(255, 255, 255, 0); 
        dialogueManager.SetActive(true);
        
    }

}
